﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage_MasterPage : System.Web.UI.MasterPage
{


    private string _PicUrl = "";

    private string _PageName = "";

    private string _HelpHref = "";

   

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
           
        }
    }


    public void IntiBar()
    {


        TitleBarControl.PageName = PageName != "" ? PageName : "";
        TitleBarControl.PicUrl = PicUrl != "" ? PicUrl : "";
        TitleBarControl.HelpHref = HelpHref != "" ? HelpHref : "";



        TitleBarControl.IntiBar();

    }

    public string PicUrl
    {
        get
        {
            return _PicUrl;
        }
        set
        {
            _PicUrl = value;
        }
    }

    public string PageName
    {
        get
        {
            return _PageName;
        }
        set
        {
            _PageName = value;
        }
    }

    public string HelpHref
    {
        get
        {
            return _HelpHref;
        }
        set
        {
            _HelpHref = value;
        }
    }

    

    protected void Back_Click(object sender, EventArgs e)
    {
        Response.Redirect(Server.HtmlDecode(Request["redurl"].ToString()));
    }


    
}
